package com.snpic.appaw.module.third.service.common;

import com.snpic.appaw.module.third.dal.dataobject.common.ThirdPartyFlowRecord;

/**
 * @author JiJun
 * @date 2025/9/4 9:27
 * @修改时间 2025/9/4 9:27
 * @description 第三方接口，请求流水服务
 */
public interface ThirdPartyFlowRecordService {
	/**
	 * 记录请求流水
	 * @param record
	 */
	Long record(ThirdPartyFlowRecord record);

	/**
	 * 根据请求流水号查询请求流水
	 * @param recordId
	 * @return
	 */
	ThirdPartyFlowRecord getByRecordNo(String recordId);

	/**
	 * 更新请求流水
	 * @param record
	 */
	void update(ThirdPartyFlowRecord record);

	/**
	 * 删除请求流水
	 * @param recordId
	 */
	void delete(String recordId);
}
